export const formConfig = [
    {
        "els": [
            {
                "label": "活动名称",
                "el": "input",
                "prop": "name",
                "place": "活动名称",
                "max": 15
            },
            {
                "label": "活动别名",
                "el": "input",
                "prop": "alias",
                "place": "活动别名",
                "max": 10
            }
        ]
    },
    {
        "prop": "display_object",
        "els": [
            {
                "el": "three-select",
                "prop": "display_object_value",
                "label": "UI入口和分组",
                "options": [
                    {
                        "id": 101,
                        "name": "商店",
                        "group_name": [
                            {
                                "id": 1,
                                "value": "101_1",
                                "label": "分组：日常"
                            }
                        ],
                        "state": 0,
                        "label": "UI入口:商店",
                        "value": "101",
                        "children": [
                            {
                                "id": 1,
                                "value": "101_1",
                                "label": "分组：日常"
                            }
                        ]
                    },
                    {
                        "id": 100,
                        "name": "充值",
                        "group_name": [
                            {
                                "id": 1001,
                                "value": "100_1001",
                                "label": "分组：主入口"
                            }
                        ],
                        "state": 0,
                        "label": "UI入口:充值",
                        "value": "100",
                        "children": [
                            {
                                "id": 1001,
                                "value": "100_1001",
                                "label": "分组：主入口"
                            }
                        ]
                    },

                ]
            },
            {
                "el": "select",
                "props": {
                    "label": "label",
                    "value": "value"
                },
                "prop": "display_object_index",
                "label": "排序等级",
                "options": [
                    {
                        "label": "第1级",
                        "value": 1
                    },
                    {
                        "label": "第2级",
                        "value": 2
                    },
                    {
                        "label": "第3级",
                        "value": 3
                    },

                ],
                "default": 1
            }
        ]
    },
    {
        "els": [
            {
                "el": "input-number",
                "prop": "group_num",
                "label": "任务tab数量",
                "mix": 1
            },
            {
                "el": "select",
                "props": {
                    "label": "label",
                    "value": "value"
                },
                "label": "任务tab解锁方式",
                "prop": "group_relation",
                "options": [
                    {
                        "label": "自由完成",
                        "value": 0
                    },
                    {
                        "label": "按日递进",
                        "value": 1
                    },
                    {
                        "label": "按日开放",
                        "value": 2
                    },

                ]
            }
        ]
    },
    {
        "els": [
            {
                "label": "子组开关",
                "el": "switch",
                "prop": "sub_group_switch"
            }
        ]
    },
    {
        "els": [
            {
                "label": "活动积分",
                "el": "switch",
                "prop": "activity_point_enable"
            },
            {
                "label": "分组积分",
                "el": "switch",
                "prop": "group_point_enable"
            }
        ]
    },
    {
        "prop": "reward_reissue_object",
        "els": [
            {
                "el": "switch",
                "prop": "is_reissue",
                "label": "是否补发"
            },
            {
                "label": "奖励补发邮件",
                "el": "select",
                "prop": "mail_id",
                "props": {
                    "label": "name",
                    "value": "id"
                },
                "api": "EMAIL_GET",
                "options": [
                    {
                        "id": 1,
                        "name": "道具奖励补发",
                        "state": 0
                    },
                    {
                        "id": 5,
                        "name": "任务奖励补发",
                        "state": 0
                    },
                    {
                        "id": 6,
                        "name": "招募奖励补发",
                        "state": 0
                    },
                    {
                        "id": 10,
                        "name": "社团请离通知",
                        "state": 0
                    },

                ],
                "hidden": false
            }
        ]
    },
    {
        "prop": "LoopObject",
        "els": [
            {
                "el": "select",
                "props": {
                    "label": "label",
                    "value": "value"
                },
                "prop": "mode",
                "label": "选择时间循环",
                "options": [
                    {
                        "label": "单次",
                        "value": 0
                    },
                    {
                        "label": "按日重开",
                        "value": 1
                    },

                ]
            },
            {
                "el": "input-number",
                "prop": "cycle",
                "label": "周期参数",
                "default": 0,
                "hidden": true
            },
            {
                "el": "select",
                "prop": "version_upgrade_mode",
                "label": "版本模式",
                "options": [
                    {
                        "label": "提升大版本",
                        "value": 1
                    },
                    {
                        "label": "提升小版本",
                        "value": 2
                    }
                ],
                "default": 1,
                "props": {
                    "label": "label",
                    "value": "value"
                },
                "hidden": true
            },
            {
                "el": "input-number",
                "prop": "loop_num",
                "label": "循环次数",
                "min": 1,
                "hidden": true
            }
        ]
    },
    {
        "els": [
            {
                "label": "奖励转化",
                "el": "switch",
                "prop": "activity_overdue_recycle_switch"
            },
            {
                "label": "转化类型",
                "el": "select",
                "props": {
                    "label": "label",
                    "value": "value"
                },
                "options": [
                    {
                        "label": "清空",
                        "value": 1
                    },
                    {
                        "label": "回收",
                        "value": 2
                    }
                ],
                "prop": "activity_overdue_recycle_recycle_type",
                "hidden": true
            },
            {
                "label": "清空内容",
                "el": "prize-group",
                "prop": "activity_overdue_recycle_a_consumes",
                "person_prop": "activity_overdue_recycle_a_consumes",
                "default": {},
                "prizeType": "all",
                "hidden": true
            },
            {
                "label": "回收配置",
                "slot": "recycle-0101",
                "hidden": true
            },
            {
                "label": "发奖方式",
                "el": "select",
                "prop": "activity_overdue_recycle_reward_get_type",
                "props": {
                    "label": "label",
                    "value": "value"
                },
                "options": [
                    {
                        "label": "邮件领取",
                        "value": 1
                    },
                    {
                        "label": "自动发背包",
                        "value": 2
                    }
                ],
                "hidden": true
            },
            {
                "label": "邮件格式",
                "el": "select",
                "prop": "activity_overdue_recycle_mail_id",
                "props": {
                    "label": "name",
                    "value": "id"
                },
                "api": "EMAIL_GET",
                "options": [
                    {
                        "id": 1,
                        "name": "道具奖励补发",
                        "state": 0
                    },
                    {
                        "id": 5,
                        "name": "任务奖励补发",
                        "state": 0
                    },

                ],
                "hidden": true
            }
        ]
    },
    {
        "prop": "reward_reissue_object",
        "els": [
            {
                "el": "switch",
                "prop": "hide_after_reward",
                "label": "任务领奖后隐藏活动"
            }
        ]
    }
]


